On wayland the DnD surface must be created early when starting the drag
operation, so offer API for GTK+ to get the GdkWindow used as a DnD
surface on the drag operation.
https://bugzilla.gnome.org/show_bug.cgi?id=697855
_gdk_wayland_display_deliver_event (gdk_device_get_display (device), event);
}
+
+GdkWindow *
+gdk_wayland_drag_context_get_dnd_window (GdkDragContext *context)
+{
+ GdkWaylandDragContext *wayland_context;
+
+ wayland_context = GDK_WAYLAND_DRAG_CONTEXT (context);
+ return wayland_context->dnd_window;
+}
void
gdk_wayland_selection_clear_targets (GdkAtom selection);
+#define gdk_wayland_drag_context_get_dnd_window gdk_wayland_drag_context_get_dnd_window_libgtk_only
+GDK_AVAILABLE_IN_ALL
+GdkWindow *
+gdk_wayland_drag_context_get_dnd_window (GdkDragContext *context);
#endif